<%@ page language="java" contentType="text/html; charset=utf8"
    pageEncoding="utf8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Insert title here</title>
</head>
<link rel="stylesheet" href="/hospital-system/bootstrap-5.3.0/css/bootstrap.css">
<body>
<nav class="navbar navbar-dark bg-dark ">
  <span class="navbar-brand mb-auto h1 mr-auto my-10  navbar-nav-scroll">欢迎使用医院就诊系统</span>
</nav>
	<div class="container mt-2">
			
		<table class="table table-success table-striped">		
		  <thead class="text-center">
		 	<tr>
		 		<td>预约号</td>
			 	<td>姓名</td>
			 	<td>预约医生姓名</td>
			 	<td>挂号时间</td>
		 	</tr>
		  </thead>
		  <tbody class="text-center">
		  	<c:forEach items="${checkbookedbid}" var="smy"  >
		  	<tr>
		  		<td>${smy.bid}</td>
			 	<td>${smy.pname}</td>	
			 	<td>${smy.dname}</td>		 	
			 	<td>${smy.bdate}</td>
		  	</tr>
		  	</c:forEach>
		  </tbody>	 
		</table>
		<div class="mb-3 row">
			  <label  class="col-sm-2 form-label"></label>		  
			    <div class="col-sm-3">
			      <input type="button" onclick="window.location.href='jsp/index.jsp';" 
		class="form-control btn btn-primary" value="返回">
			    </div>
			  </div>		 
		<!-- <input type="button" onclick="window.location.href='jsp/index.jsp';" 
		class="form-control btn btn-primary" value="返回"> -->
</body>
</html>